<meta charset="UTF-8">

<div th:if="${records.size() != 0}" class = "records_home">
	<div class="records_book" style="margin-top: 30px;" th:each="c:${records}">
		<img th:src="@{/download(id=${c.book.id})}" width="25%" height="100%" />
		<div class = "records_right">
			<p><span>借书时间：</span><font th:text="${c.startTime}"></font></p><br>
			<p><span>书名：</span><font th:text="${c.book.name}"></font></p><br>
			<p onclick="returnBook(this.id)" th:id="${c.id}" class="returnBook">还书</p>
		</div>
	</div>
</div>

<p th:if="${records.size() == 0}" style="font-family: '楷体'; font-size: 28px; margin-top:100px; text-align: center;">你没有未还图书！快去借书吧！</p>

